package com.yf.dmp.bean;

import java.sql.Date;

public class TableMap {
    private int id;
    private String from_schema;
    private int from_system_id;
    private String from_table;
    private int to_system_id;
    private String to_schema;
    private String to_table;
    private Date create_date;
    private Date update_date;
    private int dev_flag;
    private int batch_no;
    private int template_no;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFrom_schema() {
        return from_schema;
    }

    public void setFrom_schema(String from_schema) {
        this.from_schema = from_schema;
    }

    public int getFrom_system_id() {
        return from_system_id;
    }

    public void setFrom_system_id(int from_system_id) {
        this.from_system_id = from_system_id;
    }

    public String getFrom_table() {
        return from_table;
    }

    public void setFrom_table(String from_table) {
        this.from_table = from_table;
    }

    public int getTo_system_id() {
        return to_system_id;
    }

    public void setTo_system_id(int to_system_id) {
        this.to_system_id = to_system_id;
    }

    public String getTo_schema() {
        return to_schema;
    }

    public void setTo_schema(String to_schema) {
        this.to_schema = to_schema;
    }

    public String getTo_table() {
        return to_table;
    }

    public void setTo_table(String to_table) {
        this.to_table = to_table;
    }

    public Date getCreate_date() {
        return create_date;
    }

    public void setCreate_date(Date create_date) {
        this.create_date = create_date;
    }

    public Date getUpdate_date() {
        return update_date;
    }

    public void setUpdate_date(Date update_date) {
        this.update_date = update_date;
    }

    public int getDev_flag() {
        return dev_flag;
    }

    public void setDev_flag(int dev_flag) {
        this.dev_flag = dev_flag;
    }

    public int getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(int batch_no) {
        this.batch_no = batch_no;
    }



    public int getTemplate_no() {
        return template_no;
    }

    public void setTemplate_no(int template_no) {
        this.template_no = template_no;
    }

    public TableMap() {
    }
    public TableMap(int id, String from_schema, int from_system_id, String from_table, int to_system_id, String to_schema, String to_table, Date create_date, Date update_date, int dev_flag, int batch_no, int template_no) {
        this.id = id;
        this.from_schema = from_schema;
        this.from_system_id = from_system_id;
        this.from_table = from_table;
        this.to_system_id = to_system_id;
        this.to_schema = to_schema;
        this.to_table = to_table;
        this.create_date = create_date;
        this.update_date = update_date;
        this.dev_flag = dev_flag;
        this.batch_no = batch_no;
        this.template_no = template_no;
    }

    @Override
    public String toString() {
        return "TableMap{" +
                "id=" + id +
                ", from_schema='" + from_schema + '\'' +
                ", from_system_id=" + from_system_id +
                ", from_table='" + from_table + '\'' +
                ", to_system_id=" + to_system_id +
                ", to_schema='" + to_schema + '\'' +
                ", to_table='" + to_table + '\'' +
                ", create_date=" + create_date +
                ", update_date=" + update_date +
                ", dev_flag=" + dev_flag +
                ", batch_no=" + batch_no +
                ", template_no=" + template_no +
                '}';
    }
}
